
/**
 * Message encapsulating message results for a passenger 
 * @author Peter-John
 * @author mja2637
 */
public class Report {
	private final Passenger passenger;
	private final boolean scanPassBoolean;
	
	/**
	 * Report constructor.
	 * 
	 * @param passenger - Passenger reference
	 * @param scanPassBoolean - boolean whether the passenger passed the body scan or not
	 */
	public Report(Passenger passenger, boolean scanPassBoolean) {
		this.passenger = passenger;
		this.scanPassBoolean = scanPassBoolean;
	}

	/**
	 * Returns the passenger reference
	 * 
	 * @return passenger
	 */
	public Passenger getPassenger() {
		return passenger;
	}
	
	/**
	 * Returns the scanPassBoolean
	 * 
	 * @return scanPassBoolean
	 */
	public boolean getScanPassBoolean() {
		return scanPassBoolean;
	}
	
} // Report Class
